package com.pioneer.web.book.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pioneer.web.book.domain.BorrowRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author aom-star@outlook.com
* @description 针对表【borrow_record】的数据库操作Mapper
* @createDate 2025-05-18 10:48:32
* @Entity com.pioneer.web.book.domain.BorrowRecord
*/
@Mapper
public interface BorrowRecordMapper extends BaseMapper<BorrowRecord> {
    List<BorrowRecord> selectRecordByUserId(@Param("userId") Long userId, @Param("status") String status);

    BorrowRecord selectRecordById(@Param("id") Long borrowRecordId);
}




